home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 2
/
PC World Interactive 2 - Eylül 1997.iso
/
shar
/
ofis
/
allma.exe
/
WHT-OPEN.SMM
< prev
next >
Wrap
INI File
|
1994-12-01
|
10KB
|
563 lines
[ver]
4
[sty]
_DEFAULT.STY
[files]
[charset]
82
ANSI (Windows, IBM CP 1252)
[revisions]
0
[recfile]
1
0
24320
33564
3946
6144
[prn]
[port]
LPT1:
[lang]
1
[fldnames]
Field1
Field2
Field3
Field4
Field5
Field6
Field7
Field8
[desc]
Calls up Open icons
786354778
66
755985920
753
3
225
1473
5
9
1
[fopts]
0
1
0
0
[lnopts]
2
Body Text
1
[docopts]
5
2
[GramStyle]
Business Writing
[lay]
Standard
513
[rght]
15840
12240
1
1440
1440
1
1440
1440
2
1
0
1
0
2
1
1440
10800
5
1
720
1
1440
1
2162
1
2883
1
3596
[hrght]
[lyfrm]
1
11200
0
0
12240
1440
0
1
3
1 0 0 0 0 0 0
0
0
1
[frmlay]
1440
12240
1
1440
144
1
360
1440
0
1
0
1
1
0
1
1440
10800
1
3
9360
[txt]
<+!>Created by Ashley <-!><+!>December 15, 1993<-!>
>
[frght]
[lyfrm]
1
13248
0
14400
12240
15840
0
1
3
1 0 0 0 0 0 0
0
0
2
[frmlay]
15840
12240
1
1440
0
1
14544
1440
0
1
0
1
1
0
1
1440
10800
2
2
4695
3
9360
[txt]
>
[elay]
[l1]
0
[pg]
3
38 71 2 32 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
65 0 30 256 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
90 0 48 1281 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
[edoc]
@Defines@<:#284,9360><:f240,2Times New Roman,0,0,0><+,>Define MoveWindow() DllCall("User,MoveWindow,HHHHHHA",%1,%2,%3,%4,%5,%6)<-,>
@Defines@<:#284,9360><+,><:f240,2Times New Roman,0,0,0>Define Get<-,><+,>Size() DllCall("user,GetWindowRect,HHN",%1,%2)<-,><:f>
@Function@<:#288,9360><-!><+!>function <-!>begin(hdlg)
<:#284,9360>thisfile = getrunningmacrofile$()
<:#284,9360>metrics = getprofilestring$("wht-open", "Metrics", "{windir}amipro2.ini")
@If Endif@<:#284,9360> if metrics != ""
<:#284,9360> setdlgcallback(0, "{thisfile}!init")
@If Endif@<:#284,9360> endif
<:#284,9360>setdlgcallback(20, "{thisfile}!curloc")
@If Endif@<+C><:#284,9360><:f240,2Times New Roman,0,0,0>DlgKeyInterrupt(<[>F1], "HelpFun") ' This if F1<:f>
<:#284,9360>Box = DialogBox(".", "<:f240,2Times New Roman,0,0,0>Opewhat")
<:#284,9360>IF Box = -1
<:#284,9360>Message("Could not open dialog box; Exiting macro.")
<:#284,9360>EXIT FUNCTION
<:#284,9360>ELSEIF Box = 0
<:#284,9360>EXIT FUNCTION
<:#284,9360>ELSEIF Box = 3
<:#284,9360>call c:\amipro\macros\newnow.smm()
<:#284,9360>ELSEIF Box = 4
<:#284,9360>New
<:#284,9360>ELSEIF Box = 5
<:#284,9360>if GetOpenFileCount() << 0
<:#284,9360> FileOpen
<:#284,9360> elseif(SendKeys("<[>ctrlo]"))
<:#284,9360> exit function
<:#284,9360> endif
<:#284,9360>ELSEIF Box = 6
<:#284,9360>call c:\amipro\macros\opendocs.smm()
<:#284,9360>ELSEIF Box=7
<:#284,9360>SendKeys("<[>altf]g")
<:#284,9360>ELSEIF Box=8
<:#284,9360>call crash()
<:#284,9360>ENDIF
<:#284,9360>END FUNCTION
<:#284,9360><-!>DIALOG Opewhat
<:#568,9360>-2134900736 14 21 28 111 69 "" "AmiDialog" "Open what?"
<:#852,9360>6 3 15 15 3 1342373896 "button" "c:\amipro\icons\dlgicos\ope_fast.bmp" 0
<:#852,9360>6 19 15 15 4 1342373896 "button" "c:\amipro\icons\dlgicos\ope_new.bmp" 0
6 35 15 15 5 1342373896 "button" "c:\amipro\icons\dlgicos\ope_open.bmp" 0
6 51 15 15 6 1342373896 "button" "c:\amipro\icons\dlgicos\ope_mult.bmp" 0
91 35 10 10 7 1342373896 "button" "c:\amipro\icons\dlgicos\ope_merg.bmp" 0
<+@><:S+-1>26 38 52 10 1004 1342177280 "static" "'Open'<:> Dialog" 0
<+@><:S+-1>26 21 50 10 1005 1342177280 "static" "'New' Dialog" 0
<:#560,9360>26 7 46 10 1006 1342177280 "static" "New/Defaults" 0
<:#560,9360>84 12 24 12 2 1342373888 "button" "Esc" 0
<:#560,9360>26 54 47 10 1000 1342177280 "static" "Multiple Docs" 0
<:#560,9360>91 8 10 3 20 1342373888 "button" "" 0
<:#560,9360>86 45 20 9 1001 1342177280 "static" "Merge" 0
104 62 5 5 8 1342373896 "button" "c:\amipro\icons\dlgicos\in_copy.bmp" 0
0 1 111 68 1002 1342177287 "static" "" 0
<:#280,9360>END DIALOG
<:#280,9360><:f240,2Times New Roman,0,0,0>FUNCTION HelpFun(hdlg, key)
<:#280,9360><:f240,2Times New Roman,0,0,0>DialogBox(".","Helper")
@Function@<:#270,9360><+!><:f240,2Times New Roman,0,0,0>end function<-!><:f>
<:#280,9360>DIALOG Helper
<:#560,9360>-2143289344 4 127 82 108 54 "" "" ""
<:#560,9360>39 38 33 12 2 1342373888 "button" "&Close" 0
<:#560,9360>91 44 12 7 1000 1342177280 "static" "abb" 0
<:#840,9360>10 7 90 26 1001 1342177281 "static" "Click on the button that represents the command you wish to execute." 0
1 1 106 52 1002 1342177287 "static" "" 0
<:#280,9360>END DIALOG
<:#280,9360>function init(hdlg)
<:#280,9360>metrics = getprofilestring$("wht-open", "Metrics", "{windir}amipro2.ini")
<:#280,9360>x = strfield$(metrics, 1, ",")
<:#280,9360>y = strfield$(metrics, 2, ",")
<:#280,9360>w = strfield$(metrics, 3, ",")
<:#280,9360>h = strfield$(metrics, 4, ",")
<:#280,9360>movewindow(hdlg, x, y, w, h, 1)
@Function@<:#280,9360>end function
@Function@<:#280,9360>function curloc(hdlg)
<:#280,9360>dim coord(4)
<:#280,9360>getsize(hdlg, &coord)
<:#280,9360>x = coord(1)
<:#280,9360>y = coord(2)
<:#280,9360>cx = coord(3)
<:#280,9360>cy = coord(4)
<:#280,9360>w = cx - x
<:#280,9360>h = cy - y
<:#280,9360>writeprofilestring("wht-open", "Metrics", strcat$(x, ",", y, ",", w, ",", h), "{windir}amipro2.ini")
<+@><:#280,9360>end function
<:#280,9360><:f240,2Times New Roman,255,255,255>FUNCTION crash()
<:I0,0,0,0><:#280,9360><:f240,2Times New Roman,255,255,255>DialogBox(".","crash")
@Function@<:#280,9360><:f240,2Times New Roman,255,255,255>End Function<:f>
<:#280,9360><:f240,2Times New Roman,255,255,255>DIALOG crash
<:#560,9360><:f240,2Times New Roman,255,255,255>-2134376448 4 91 25 155 189 "" "" "Toolbar Macros by:"
<:f240,2Times New Roman,255,255,255>6 7 147 160 1001 1342177290 "static" "c:\amipro\icons\dlgicos\in_cred.bmp" 0
<:#560,9360><:f240,2Times New Roman,255,255,255>5 6 145 177 1002 1342177288 "static" "text" 0
<:#560,9360><:f240,2Times New Roman,255,255,255>4 5 147 179 1002 1342177289 "static" "" 0
<:#560,9360><:f240,2Times New Roman,255,255,255>0 1 155 188 1002 1342177287 "static" "" 0
<:#280,9360><:f240,2Times New Roman,255,255,255>END DIALOG<:f>
>
[Embedded]
00006663
>
[macsum] 8
begin 0 1 5 2
Opewhat 811 0 -1 34
HelpFun 1739 2 1 51
Helper 1782 0 -1 54
init 2083 1 7 61
curloc 2331 1 9 69
crash 2609 0 1 80
crash 2649 0 -1 83
[macse]
14 begin
0 802
13
8 2
0 286 "wht-open" "Metrics" "{4}amipro2.ini"
13
8 3
6 3
7 ""
18 1
11 00000129
0 41 0 "{2}!init"
0 41 20 "{2}!curloc"
0 47 112 "HelpFun"
0 26 "." "Opewhat"
13
8 5
6 5
5 -1
18 0
11 00000304
0 3 "Could not open dialog box; Exiting macro."
6 1
15
9
10 00000799
6 5
5 0
18 0
11 00000358
6 1
15
9
10 00000799
6 5
5 3
18 0
11 00000432
16 c:\amipro\macros\newnow.smm
10 00000799
6 5
5 4
18 0
11 00000482
24 101
10 00000799
6 5
5 5
18 0
11 00000626
0 1050
13
5 0
18 5
11 00000568
24 102
10 00000613
0 36 "[16463]"
13
11 00000613
6 1
15
9
10 00000799
6 5
5 6
18 0
11 00000702
16 c:\amipro\macros\opendocs.smm
10 00000799
6 5
5 7
18 0
11 00000760
0 36 "[8262]g"
10 00000799
6 5
5 8
18 0
11 00000799
16 crash
6 1
15
9
DIALOG Opewhat
-2134900736 14 21 28 111 69 "" "AmiDialog" "Open what?"
6 3 15 15 3 1342373896 "button" "c:\amipro\icons\dlgicos\ope_fast.bmp" 0
6 19 15 15 4 1342373896 "button" "c:\amipro\icons\dlgicos\ope_new.bmp" 0
6 35 15 15 5 1342373896 "button" "c:\amipro\icons\dlgicos\ope_open.bmp" 0
6 51 15 15 6 1342373896 "button" "c:\amipro\icons\dlgicos\ope_mult.bmp" 0
91 35 10 10 7 1342373896 "button" "c:\amipro\icons\dlgicos\ope_merg.bmp" 0
26 38 52 10 1004 1342177280 "static" "'Open' Dialog" 0
26 21 50 10 1005 1342177280 "static" "'New' Dialog" 0
26 7 46 10 1006 1342177280 "static" "New/Defaults" 0
84 12 24 12 2 1342373888 "button" "Esc" 0
26 54 47 10 1000 1342177280 "static" "Multiple Docs" 0
91 8 10 3 20 1342373888 "button" "" 0
86 45 20 9 1001 1342177280 "static" "Merge" 0
104 62 5 5 8 1342373896 "button" "c:\amipro\icons\dlgicos\in_copy.bmp" 0
0 1 111 68 1002 1342177287 "static" "" 0
14 HelpFun
0 26 "." "Helper"
6 2
15
9
DIALOG Helper
-2143289344 4 127 82 108 54 "" "" ""
39 38 33 12 2 1342373888 "button" "&Close" 0
91 44 12 7 1000 1342177280 "static" "abb" 0
10 7 90 26 1001 1342177281 "static" "Click on the button that represents the command you wish to execute." 0
1 1 106 52 1002 1342177287 "static" "" 0
14 init
0 286 "wht-open" "Metrics" "{3}amipro2.ini"
13
8 2
0 20 "{2}" 1 ","
13
8 4
0 20 "{2}" 2 ","
13
8 5
0 20 "{2}" 3 ","
13
8 6
0 20 "{2}" 4 ","
13
8 7
0 284 "User,MoveWindow,HHHHHHA" "{0}" "{4}" "{5}" "{6}" "{7}" 1
6 1
15
9
14 curloc
5 4
21 2 [X]
0 284 "user,GetWindowRect,HHN" "{0}" &2
5 1
22 2
8 3
5 2
22 2
8 4
5 3
22 2
8 5
5 4
22 2
8 6
6 5
6 3
3 1
8 7
6 6
6 4
3 1
8 8
0 16 "{3}" "," "{4}" "," "{7}" "," "{8}"
13
0 287 "wht-open" "Metrics" [X] "{9}amipro2.ini"
6 1
15
9
14 crash
0 26 "." "crash"
6 0
15
9
DIALOG crash
-2134376448 4 91 25 155 189 "" "" "Toolbar Macros by:"
6 7 147 160 1001 1342177290 "static" "c:\amipro\icons\dlgicos\in_cred.bmp" 0
5 6 145 177 1002 1342177288 "static" "text" 0
4 5 147 179 1002 1342177289 "static" "" 0
0 1 155 188 1002 1342177287 "static" "" 0
00006688